gsk: Fix the gl texture cache
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Sep 2020 17:55:09 +0000 (13:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Sep 2020 17:55:09 +0000 (13:55 -0400)
commit1057588a8ff55e8c43938fe528e46776ca5a1fb3
treef1261e551cc6b5eaa2e15f7363150a0f02e4d583
parent9a927176dfb87b9be4de7ef4e2002324638fc0ae
gsk: Fix the gl texture cache

We need to include both the scale and the filtering
in the key for the texture cache, since those affect
the texture.

This fixes misrendering in the recorder in the inspector
whenever transforms are involved. An example where this
was showing up is testrevealer's swing transition.
gsk/gl/gskgldriver.c
gsk/gl/gskgldriverprivate.h
gsk/gl/gskglrenderer.c